Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_sunset
date_sunset
Returns the sunset time for a given date and location
Name:
date_sunset
Category:
Date and time
Programming Language:
php
One-line Description:
Returns the sunset time for the specified date and location.
Related
Practical Methods to Adjust the Time Difference Returned by date_sunset
5
How to calculate daytime duration in combination with date_sunset and date_sunrise functions?
7
How to adjust the time zone setting of the date_sunset function?
1
What Is the Data Format Returned by PHP’s date_sunset Function and How to Parse It Correctly?
7
Similar Functions
date_create_from_format
date_create_from_format
AliasforDateTime::
date_timestamp_set
date_timestamp_set
AliasforDateTime::
date_create_immutable_from_format
date_create_immutable_from_format
DateTimeImmutable::c
date_default_timezone_get
date_default_timezone_get
Getthedefaulttimezon
date_date_set
date_date_set
DateTime::setDateali
date_get_last_errors
date_get_last_errors
AliasforDateTime::
strptime
strptime
parsethetime/dategen
date_format
date_format
AliasforDateTime::
Popular Articles
How to calculate daytime duration in combination with date_sunset and date_sunrise functions?
How to adjust the time zone setting of the date_sunset function?
Practical Methods to Adjust the Time Difference Returned by date_sunset
What Is the Data Format Returned by PHP’s date_sunset Function and How to Parse It Correctly?